package com.shoulei.designpattern.facadePattern;

/**
 * @ClassName:FacadePatternDemo
 * @Descrition:
 * @Author:shoulei
 * @Date:2019/4/14 15:08
 * @Verson:
 */
public class FacadePatternDemo {
    public static void main(String[] args) {
        ShapeMaker shapeMaker = new ShapeMaker(new Rectangle(),new Circle(),new Square());
        shapeMaker.drawCircle();
        shapeMaker.drawRectangle();
        shapeMaker.drawSquare();
    }
}
